//
//  CourseModel.h
//  MetenEnglish
//
//  Created by Hsn on 14/11/19.
//  Copyright (c) 2014年 Shenzhen Securities Information Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Tools.h"

typedef NS_ENUM(NSInteger, COURSE_STATUS) {
    COURSE_NORMAL = 0,      // 默认值
    COURSE_RESERVE,         // 订课
    COURSE_RESERVED,        // 已订课
    COURSE_STANDBY,         // 排队
    COURSE_FULL,            // 已订满
    COURSE_RESERVEDOTHER,   // 已订其它
    COURSE_CANCEL_QUEUE     // 取消排队
};

typedef NS_ENUM(NSInteger, COURSE_CATEGORY) {
    COURSE_OTHER = 0,       // 其它
    COURSE_MAJOR,           // 主修课
    COURSE_SC,              // SC
    COURSE_ISHOW            // 排队
};


@interface CourseModel : NSObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *time;
@property (nonatomic, strong) NSString *teacher;
@property (nonatomic, strong) NSString *address;
@property (nonatomic, strong) NSString *studentCount;
@property (nonatomic, strong) NSString *resevedNum;
@property (nonatomic, strong) NSString *queuedNum;
@property (nonatomic, strong) NSString *courseId;
@property (nonatomic, strong) NSString *status;

@property (nonatomic, assign) COURSE_CATEGORY courseCategory;  //课程类别(主修,SC,ishow或其它)
@property (nonatomic, assign) COURSE_STATUS courseStatus;

- (instancetype)initWithCourseName:(NSString *)name
                              time:(NSString *)time
                           teacher:(NSString *)teacher
                           address:(NSString *)address
                      studentCount:(NSString *)studentCount
                          courseId:(NSString *)courseId;

- (COURSE_STATUS)getCourseStatus;

- (NSString *)getCourseId;

- (void)setCourseCategoryWithString:(NSString *)courseCategory;


@end
